package com.duan.laugh.sms.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 短信账户
 * </p>
 *
 * @author liutf
 * @since 2019-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sms_account")
@ApiModel(value="SmsAccount对象", description="短信账户")
public class SmsAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "账户")
    private String access;

    @ApiModelProperty(value = "密码")
    private String secret;

    private String url;

    @ApiModelProperty(value = "渠道名称代码（如阿里云、腾讯云）")
    private Integer channelNameCode;

    @ApiModelProperty(value = "已删除（是、否）")
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "租户id")
    private Long tenantId;


}
